/* 全局样式重置 */
* {
  box-sizing: border-box;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #00b894;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00a085;
}

/* Element Plus 主题色自定义 */
:root {
  --el-color-primary: #00b894;
  --el-color-primary-light-3: #4dd0b4;
  --el-color-primary-light-5: #80e0d0;
  --el-color-primary-light-7: #b3ebe0;
  --el-color-primary-light-8: #ccf2eb;
  --el-color-primary-light-9: #e6f9f5;
  --el-color-primary-dark-2: #009c7a;
}

/* 页面基础样式 */
.page-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 20px;
}

/* 卡片样式增强 */
.el-card {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.el-card__header {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 24px;
}

.el-card__body {
  padding: 24px;
}

/* 分类标签通用样式 */
.category-tag {
  margin-left: 8px !important;
  background-color: #f0f9ff !important;
  color: #0369a1 !important;
  border-color: #bae6fd !important;
}

.category-tag:hover {
  background-color: #e0f2fe !important;
  color: #075985 !important;
}

/* 页面标题样式 */
.page-title {
  margin: 0 0 24px 0;
  color: #303133;
  font-size: 28px;
  font-weight: 600;
}

.page-subtitle {
  margin: 0 0 8px 0;
  color: #606266;
  font-size: 16px;
}

/* 表格样式增强 */
.el-table {
  border-radius: 8px;
  overflow: hidden;
}

.el-table .el-table__header {
  background-color: #fafafa;
}

/* 分页样式 */
.pagination-wrapper {
  text-align: center;
  margin-top: 20px;
  padding: 20px 0;
}

/* 搜索区域样式 */
.search-section {
  margin-bottom: 20px;
}

/* 操作按钮组样式 */
.action-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 统计信息样式 */
.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #909399;
  font-size: 14px;
  transition: color 0.3s;
}

.stat-item.liked {
  color: #f56565;
}

.stat-item.collected {
  color: #f6ad55;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-container {
    padding: 10px;
  }
  
  .el-card__body {
    padding: 16px;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .action-buttons .el-button {
    margin-bottom: 8px;
    margin-left: 0 !important;
  }
} 